<template>
    <div class="Home-index">
<span v-on:click="fun">你好</span>
    </div>
</template>
<script>
export default{
    data(){
        return{
name:"你好",
render: 2,
staticRenderFns:"1"
        }
    },
    methods:{
        fun(){
            var res=Vue.compile('<div>{{name}}</div>')
            console.log(res)
        }
    }
}
</script>